<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<title>${metadata.alias!}</title>
	<@_includePlace path="/index.html/3f9a648b-7360-41b5-86e5-6b4b108268f1.html"/> <#-- 头部Header -->
</head>
<body>
<@_includePlace path="/index.html/2ecdebcc-c087-4ed3-aecd-80f85ce6a6c6.html"/> <#-- 导航 -->
<main>
    <div class="container">
		<#if error?has_content>
			<@import path="/ftl/tools.ftl" namespace="t"/>
			<p class="message red"><@t.m error/></p>
		</#if>
	    <@_metadata path='/index.html'><#assign metadata=object/></@_metadata>
		<form method="post" action="${metadata.extendData.member!}place/save.do" onsubmit="return check();">
			<input name="path" type="hidden" value="/index.html/cfdc226d-8abc-48ec-810d-f3941b175b20.html" />
			<p><label>友链标题:</label><input name="title" type="text" size="60" maxlength="60" value=""/></p>
			<p><label>网站地址:</label><input name="url" type="text" size="60"  maxlength="60" value=""/></p>
			<p><input type="submit" value="提交"/></p>
		</form>
    </div>
</main>
<@_includePlace path="/index.html/6369e868-50b9-4245-9d39-fd440384a685.html"/> <#-- 尾部Footer -->
<script type="text/javascript">
	$(function(){$('.login-form input').eq(0).focus();});
	function check(){
		if(!$('input[name=title]').val()||!$('input[name=url]').val()){
			alert('站点标题和地址不能为空');
			return false;
		}
		return true;
	}
</script>
</body>
</html>